package com.example.pojo.dev;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.metadata.BaseRowModel;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * @BelongsProject: parem-yunstiu
 * @BelongsPackage: com.common.utils.tool.pojo
 * @Author: dyz
 * @CreateTime: 10:19     和数据一致
 * @Version: 1.0
 */
@Data
@EqualsAndHashCode()
public class fmDevInfo {

    @ExcelProperty(value = "id", index = 0)
    private int deviceId;

    @ExcelProperty(value = "设备名称", index = 1)
    private String devName;

    @ExcelProperty(value = "设备型号", index = 2)
    private String devSpecifications;

    @ExcelProperty(value = "设备编号", index = 3)
    private String devNumber;

    @ExcelProperty(value = "设备位置", index = 4)
    private String devLocation;

    @ExcelProperty(value = "设备编码[dbid]", index = 5)
    private String objectId;

    @ExcelProperty(value = "参数信息", index = 6)
    private String devParameters;

    @ExcelProperty(value = "设备厂家", index = 7)
    private String devManufacturer;

    @ExcelProperty(value = "设备联系人", index = 8)
    private String manufacturerContact;

    @ExcelProperty(value = "设备联系电话", index = 9)
    private String manufacturerContactNum;

    @ExcelProperty(value = "供货厂家", index = 10)
    private String devSupplier;

    @ExcelProperty(value = "供货联系人", index = 11)
    private String supplierContact;

    @ExcelProperty(value = "供货联系电话", index = 12)
    private String supplierContactNum;
    @ExcelProperty(value = "购置日期", index = 13)
    private Date purchaseDate;

    @ExcelProperty(value = "保修到期", index = 14)
    private Date warrantyDeadline;

    @ExcelProperty(value = "产品寿命", index = 15)
    private Integer devLife;

    @ExcelProperty(value = "检修周期", index = 16)
    private Integer maintenanceCycle;

    @ExcelProperty(value = "系统", index = 17)
    private String systemBelong;
    @ExcelProperty(value = "检修时间", index = 18)
    private String repairTime;
    @ExcelProperty(value = "保养时间", index = 18)
    private String maintenanceTime;

    @ExcelProperty(value = "子系统", index = 19)
    private String subsystemBelong;
    @ExcelProperty(value = "设备标高", index = 20)
    private String devLevel;
    @ExcelProperty(value = "绝对标高", index = 21)
    private String absoluteLevel;
    @ExcelProperty(value = "标识ID", index = 22)
    private String externalId;
    @ExcelProperty(value = "所属房间GUID", index = 23)
    private String roomExternalId;
    @ExcelProperty(value = "设备空间组态分类", index = 24)
    private String subSpaRelations;//sub_spa_relations
    @ExcelProperty(value = "设备分类", index = 25)
    private String devClassification;//dev_classification

    private int isdevice;
    //公司名称
    private String companyName;
    //公司名称
    private String projectName;   //项目名称
    private String projectId;   //  项目id
    private String modelType;   //模型分类
    private String subsystemDevId; //子系统主设备dbid
    private String modelId;//模型编号


    //是否正常
    private String alarmStatus;
    //有多少相同的设备
    private int strip;

    private String type;
    private String describe;
    private String lastime;
    private int faultnumber;
    private List<String> devNameList;
    private List<String> devTypeList;
    private List<String> devNumberList;

    //private List<GuaranteeOrder> Maintenance = new ArrayList<>();
}
